<%--
  Created by IntelliJ IDEA.
  User: ykj
  Date: 16/1/10
  Time: 上午12:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>

<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/adminDialog.css"/>

<script charset="utf-8">
    $(function () {
        adminDialog.bindSave('admin');
        adminDialog.bindAddCancel('admin');
    });
</script>
<div class="form_div">
    <form id="admin_form" class="m_form" method="post">
        <div class="input_div">
            <label>账号:</label>
            <input class="easyui-textbox m_textbox" type="text" id="name" name="admin.name" data-options="required:true"/>

        </div>
        <div class="input_div">
            <label>密码:</label>
            <input class="easyui-textbox m_textbox" type="password" id="pwd" name="admin.pwd" data-options="required:true"/>

        </div>
        <div class="input_div">
            <label>确认密码:</label>
            <input class="easyui-textbox m_textbox" type="password" validType="equals['#pwd']" data-options="required:true"/>

        </div>
        <div class="sub_div">
            <a id="save_btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save'">提交</a>
            <a id="cancel_btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'">取消</a>
        </div>
    </form>
</div>